ISubsystem.ShutdownHandler property
Attaches a shutdown handler while an EtherCAT connection is being established. This allows KINGSTAR Runtime to keep running when Windows is shut down or crashed. When you are using EnableShutdownHandler, your applications must use the RTX64 function RtAttachShutdownHandler so they can run in the shutdown mode.
RtAttachShutdownHandler is an RT function that can be used only for RTX64 applications. So to take advantage of ShutdownHandler property you must have an RTX64 user application.
Namespace: IntervalZero.KINGSTAR.Base.Class
Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
public bool ShutdownHandler { get; set; }
Public Property ShutdownHandler As Boolean
Remarks
- This function must be called before Start.
- To release the computer in shutdown mode, the user application should call Stop for KS to terminate its shutdown handler.
Usable EtherCAT states
ecatOffline
See also